/*公共样式--开始*/


/* 复位样式 */

html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
strong,
i,
p,
dl,
dt,
dd,
form,
label,
input,
button,
select,
option,
textarea,
table,
th,
td {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}


/* 把所有盒子的盒模型转化为IE盒模型 */

html,
body {
    max-width: 1920px;
    min-height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

body {
    font-family: '微软雅黑';
    /* 默认字体 微软雅黑 */
    color: #333;
    /* 默认字体颜色 */
    font-size: 16px;
    /* 默认字体大小 */
    -webkit-font-smoothing: antialiased;
    /*文字抗锯齿*/
    -moz-osx-font-smoothing: grayscale;
    /*文字抗锯齿*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* 标题标签清除默认样式 */
    font-weight: normal;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

i {
    font-style: normal;
    display: inline-block;
}

.header_container img,
.index_main img,
.footer img,
.aside_nav img {
    border: none;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.header_container a,
.index_main a,
.footer a,
.aside_nav a {
    color: inherit;
    display: block;
    text-decoration: none;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
}

a,
button,
input,
optgroup,
select,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* 移动端点击后会出现"暗色"的背景 */
}

input::-ms-clear {
    display: none;
}


/* 去除IE浏览器器下输入框叉叉 */

input::-ms-reveal {
    display: none;
}


/* 去除IE浏览器器下输入框叉叉 */

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
    -webkit-text-fill-color: #999 !important;
    transition: background-color 99999999s ease-in-out 0s !important;
}

@media screen and (max-width: 1200px) {
    /* 针对PC端的代码，小于一定尺寸时显示将要隐藏的内容 */
    html {
        overflow-x: auto;
        min-width: 1200px;
    }
}

.center {
    /* 居中 */
    width: 1400px;
    margin: 0 auto;
}


/* flex布局兼容 START */

.header_container .flex,
.index_main .flex,
.footer .flex,
.aside_nav .flex {
    /* 设置为flex盒子 */
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.flex_column {
    /* 垂直排列 */
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

.flex_wrap {
    /* 允许换行 */
    -webkit-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex_row_center {
    /* 水平方向上居中 */
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
}

.flex_row_start {
    /* 水平方向上居左 */
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    -o-justify-content: flex-start;
    justify-content: flex-start;
}

.flex_row_end {
    /* 水平方向上居右 */
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    -o-justify-content: flex-end;
    justify-content: flex-end;
}

.flex_row_justify {
    /* 水平方向上等间距排列 */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
}

.flex_column_center {
    /* 垂直方向上居中 */
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.flex_column_start {
    /* 垂直方向上居上 */
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    align-items: flex-start;
}

.flex_column_end {
    /* 垂直方向上居下 */
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-align-items: flex-end;
    -o-align-items: flex-end;
    align-items: flex-end;
}

.flex1 {
    /* 占据1份大小 */
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex_rank_1 {
    /* 排列等级 */
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
}

.flex_rank_2 {
    /* 排列等级 */
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}


/* flex END */


/* 清除浮动 */

.clear_float::after {
    content: ' ';
    display: block;
    clear: both;
}


/* 浮动 */

.float_left {
    float: left;
}

.float_right {
    float: right;
}


/* 过度 */

.transition {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}


/* 单行文本溢出隐藏 */

.one_row_text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


/* 多行文本溢出隐藏 */

.two_row_text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* 字体图标 */

.looit_iconfont {
    color: inherit;
    font-size: inherit;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    /* 文字抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
    /* 文字抗锯齿 */
}


/* 背景图 */

.background_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


/* 图片居中 */

.picture_container {
    position: relative;
    overflow: hidden;
    background: none;
}

.picture_container img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}


/* 分页 */

.paging {
    position: relative;
}

.paging a {
    color: #666;
    margin: 0 5px;
    height: 38px;
    line-height: 36px;
    text-align: center;
    background: #eeeeee;
    border: solid 1px #d2d2d2;
    border-radius: 3px;
}

.paging .page {
    width: 38px;
}

.paging .prevPage,
.paging .nextPage {
    width: auto;
    padding: 0 7px;
}

.paging .firstPage,
.paging .lastPage {
    width: auto;
    padding: 0 7px;
}

.paging a.active,
.paging a:not(.noPage):hover {
    background: #e21f24;
    border-color: #e21f24;
    color: #fff;
}

.paging .noPage {
    opacity: 0.5;
    cursor: default;
}


/* 点击加载更多 */

.loadData {
    text-align: center;
}

.loadData a {
    position: relative;
    display: none;
    width: 330px;
    height: 60px;
    line-height: 60px;
    background: #f1f5f7;
    color: #61778e;
    letter-spacing: 1px;
    margin: 0 auto;
}

.loadData .loading {
    background: #426ba1;
    color: #eee;
}

.loadData .loading span {
    display: inline-block;
    font-size: 20px;
    margin-left: 5px;
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
    -webkit-animation: loading_move 1s infinite;
    animation: loading_move 1s infinite linear;
}

@-webkit-keyframes loading_move {
    0% {
        -webkit-transform: translateY(2px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(2px) rotate(360deg);
    }
}

@keyframes loading_move {
    0% {
        transform: translateY(2px) rotate(0deg);
    }
    100% {
        transform: translateY(2px) rotate(360deg);
    }
}

.loadData .loadEnd {
    background: #eee;
    color: #999;
    cursor: default;
}

.loadData .active {
    display: block;
}

.loadData .loadStart:hover {
    background: #426ba1;
    color: #fff;
}

[class*=animate_fade] {
    /* 动画时间，动画开始前的状态 */
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    animation-duration: 1.5s;
    opacity: 0;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}